<template>
	<view class="content">
		<rich-text :nodes="content"></rich-text>
	</view>
</template>

<script>
	import {
		positionDetail
	} from '@/api/apiData.js';
	export default {
		data() {
			return {
				content:''
			};
		},
		onLoad() {
			this.getInfo()
		},
		methods:{
			async getInfo(){
				console.log(55)
				const result = await positionDetail({
					position_id: 3
				})
				this.content = result.data.content
			}
		}
	}
</script>

<style lang="scss" scoped>
.content{
	padding: 20rpx;
}
</style>
